package com.mdinfo.system.vo;

import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * Created by superbone on 2017/12/3.
 */
public class MemberVo {

    @Data
    public static class ListQueryVo{
        private Integer memberId;
        private String username;
        private String deptName;
        private String empName;
        private List<MemberRoleVo> roles = new ArrayList<>();
        private Integer usable;
        private String createTime;
        private String lastLoginTime;
    }

    @Data
    public static class MemberRoleVo{
        private Integer roleId;
        private String roleName;
    }

    @Data
    public static class LoginVo{
        private String token;
        private String username;
        private String deptShortName;
        private String deptFullName;
        private String empName;
        private Integer deptId;
        private Integer deptPid;
        private Double lng;
        private Double lat;
        private Integer zoom;
        private List<Integer> myDeptIdList = new ArrayList<>();
        private Integer memberId;
    }
}
